package com.atguigu.mapper;

import com.atguigu.pojo.Department;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface DepartmentMapper {
    List<Department> getAllDepts();
    List<Department> getDeptsById(int id);
}
